#include "MouseEvents.h"

MouseEvents::MouseEvents()
{
}

Event<const Point2D&,int>& MouseEvents::OnMousePressed()
{
    return _on_mouse_pressed;
}
        
Event<const Point2D&,int>& MouseEvents::OnMouseReleased()
{
    return _on_mouse_released;
}

MouseEvents* MouseEvents::GetInstance()
{
    return _instance;
}

MouseEvents* MouseEvents::_instance = new MouseEvents();
